stock_name_set1 = {'建设银行', '浦发银行', '招商银行', '农业银行'}
stock_name_set2 = {'工商银行', '中国银行', '招商银行', '农业银行'}
print('并集: ' + str(stock_name_set1 | stock_name_set2))
print('差集: ' + str(stock_name_set1 - stock_name_set2))
print('交集: '+ str(stock_name_set1 & stock_name_set2))
print('补集: ' + str(stock_name_set1 ^ stock_name_set2))